package com.rc.common.constant;

import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public enum RoleEnum implements TypeEnum{
    /**
     * 管理员
     */
    ADMIN(0,"admin"),

    /**
     * 农场管理员
     */
    FARM_ADMIN(1,"farmAdmin"),

    /**
     * 员工
     */
    EMPLOYEE(2,"employee");

    @EnumValue
    private final int value;

    private final String desc;


}
